
#include "stdafx.h"
#include "ConstDef.h"
#include "ReloadCode.h"
#include "Logger.h"
#include "Interface.h"
#include "IoBuffer.h"
#include "Packet.h"

namespace ReloadUdpCall
{
	PacketElement::PacketElement()
		:pRootElement_()
	{

	}

	PacketElement::~PacketElement()
	{
		pRootElement_.reset();
	}

	retT PacketElement::attachRootElement( boost::weak_ptr<PacketElement> _pRootElement )
	{
		pRootElement_ = _pRootElement;
		RETSUCCESS;
	}
}
